package com.mojo;

import com.mojo.pojo.User;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * @author <a href="mailto:sjj@jianzhimao.com">mojo</a>
 * copyright (C), 2013-2022, 广州九尾信息科技有限公司
 * @date 2022/3/2 11:28
 */
@Configuration
public class BeanConfig {
    @Bean
    @Qualifier("jj")
    User user() {
        User user = new User();
        user.setName("jj");
        return user;
    }

}
